#{extends 'simpleTemplate.html' /}
<title>&{'Wiki_list_states_by_tag_header'}</title>

<link href="@{'/public/css/taskboard.css'}" rel="stylesheet">

<div class="content">
    <div class="content-header">
        <h2>&{'Wiki_list_states_by_tag'}</h2>
    </div>
    <ul>
        #{list items: result, as:"page"}
        <div class="tb-column" id="page_01" style="margin-top: 20px;">

            <div class="tb-column-header">${page.name}</div>
            <div class="tb-task-content">${page.summaryHtml()}</div>

            <div class="tb-add-item">
                <a class="btn btn-primary" href="/showPage?id=${page.id}">show...</a>
            </div>

        </div>
        #{/list}
    </ul>

</div>
